﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 外观模式_股民炒股
{
    class Program
    {
        static void Main(string[] args)
        {
            Stock1 s1 = new Stock1();
            Stock2 s2 = new Stock2();
            Stock3 s3 = new Stock3();
            NationalDebt1 nd1 = new NationalDebt1();
            Realty1 re1 = new Realty1();

            s1.Buy();
            s2.Buy();
            s3.Buy();
            nd1.Buy();
            re1.Buy();

            s1.Sell();
            s2.Sell();
            s3.Sell();
            nd1.Sell();
            re1.Sell();
        }
    }
}
